projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5582bd2
)
dnd: Use gtk_widget_render_icon_pixbuf()
author
Carlos Garcia Campos
<carlosgc@gnome.org>
Wed, 8 Dec 2010 16:10:34 +0000
(17:10 +0100)
committer
Carlos Garcia Campos
<carlosgc@gnome.org>
Wed, 8 Dec 2010 16:10:34 +0000
(17:10 +0100)
Instead of gtk_widget_render_icon() which is now deprecated.
gtk/gtkdnd.c
patch
|
blob
|
history
diff --git
a/gtk/gtkdnd.c
b/gtk/gtkdnd.c
index 08496d5761dfd69687fff5dbf1f688b026de046d..84e651d668bceb72adc12bb2205ccd4bdaacea57 100644
(file)
--- a/
gtk/gtkdnd.c
+++ b/
gtk/gtkdnd.c
@@
-3109,8
+3109,8
@@
set_icon_stock_pixbuf (GdkDragContext *context,
if (stock_id)
{
- pixbuf = gtk_widget_render_icon (window, stock_id,
-
GTK_ICON_SIZE_DND, NULL
);
+ pixbuf = gtk_widget_render_icon
_pixbuf
(window, stock_id,
+
GTK_ICON_SIZE_DND
);
if (!pixbuf)
{